package com.manbu.live.farmework.redis.starter.keys;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author hanWang
 * @Title:
 * @Package
 * @Description:
 * @date 2024/1/2211:23 下午
 */
public class RedisKeyBuilder {
    @Value("${spring.application.name}")
    private String applicationName;
    private static final String SPLIT_ITEM = ":";
    public String getSplitItem() {
        return SPLIT_ITEM;
    }
    public String getPrefix() {
        return applicationName + SPLIT_ITEM;
    }
}